package com.sdhs.projectschedule.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdhs.businessfile.domain.BusinessFile;
import com.sdhs.common.annotation.Excel;
import com.sdhs.common.core.domain.BaseEntity;

import lombok.Data;

/**
 * 项目进度控制--总体计划管理变更对象 gc_progress_master_plan_temp
 *
 * @author ww
 */
@Data
public class GcProgressMasterPlanTemp extends BaseEntity {
    private static final long serialVersionUID = 1L;

    GcProgressMasterPlanTemp() {
        isDelete = "0";
    }

    /**
     * 总体计划管理主键
     */
    private Long id;

    /**
     * 主键id别名
     */
    private Long tempPlanId;

    /**
     * 关联项目id
     */
    @Excel(name = "关联项目id")
    private Long projectId;

    /**
     * 关联项目名称
     */
    @Excel(name = "关联项目名称")
    private String projectName;

    /**
     * 变更实例id
     */
    @Excel(name = "变更实例id")
    private String instanceId;

    /**
     * 变更审批状态
     */
    @Excel(name = "变更审批状态")
    private String approvalStatus;

    /**
     * 变更提交人用户名
     */
    @Excel(name = "变更提交人用户名")
    private String submitUserName;
    
    /**
     * 变更提交人姓名
     */
    @Excel(name = "变更提交人姓名")
    private String submitNickName;

    /**
     * 变更提交时间
     */
    @Excel(name = "变更提交时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date submitTime;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    /**
     * 是否删除
     */
    @Excel(name = "是否删除")
    private String isDelete;

    /**
     * 附件
     */
    private List<BusinessFile> fileList;

    /**
     * 总体计划-临时数据
     */
    @Excel(name = "总体计划临时数据")
    private List<GcProgressMasterPlanMarkTemp> children;
}
